package org.wanho.rent.mapper;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.wanho.jdbc.util.RowMapper;

public class CountRowMapper implements RowMapper<Integer> {

	@Override
	public Integer mapRow(ResultSet rs) throws SQLException {
		int count = rs.getInt(1);
		
		return count;
	}

}
